package com.example.test.util;

public class Generic<Y> {

    private Y key;

    public Generic(Y key) {
        this.key = key;
        System.out.println(key);
        System.out.println(key.getClass().toString());
    }

    public Y getKey() {
        return this.key;
    }

}
